/**
 * Created by Administrator on 2017/7/27.
 */
$(function () {
    var a = window.location.href;
    var ins = a.indexOf('=');
    var aaa = a.slice(ins +1);
    var c = decodeURIComponent(aaa);
    var obj = JSON.parse(c);

    var html=obj.sLeaveHospitalEnjoin;
    console.log(html);
    console.log(html);
    if(html!==null){
        html = html.replace(/KeyEnter;/g,"<br/>");
        $(".Hospital-urge-matter>p").html(html);
    };
    if(html==null){
        $(".Hospital-urge-matter").append("<div>亲您的报告暂时没出来</div>")
    }
    $(".icon-zuo").attr("href","historySheet.html?index="+JSON.stringify(obj));
})